package com.jse.oo.design.pattern.behavioral.strategy;

/**
 * 读取file路径的文件，如可以用file:F:\books\设计模式
 * @author zenghua233
 *
 */
public class FileContext implements Context {
	private FileStrategy fileStrategy;
	
	public FileContext() {
		fileStrategy = new FileStrategy();
	}

	@Override
	public void read() {
		fileStrategy.execute();
	}

}
